package com.zj;


import com.zj.view.CodeSnippetView;
import com.zj.view.StartSplash;
import de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport;
import javafx.stage.Stage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class LaunchApp extends AbstractJavaFxApplicationSupport {

    public static void main(String[] args) {
        launch(LaunchApp.class, CodeSnippetView.class,new StartSplash(), args);
    }
    @Override
    public void beforeInitialView(Stage stage, ConfigurableApplicationContext ctx) {
        stage.setTitle("众匠代码生成器");
        stage.setWidth(1000);
        stage.setHeight(675);

    }
}
